pow.webserver
Class Ivy2TomcatHttpServer
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
pow.webserver.Ivy2TomcatHttpServer
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class Ivy2TomcatHttpServer
- extends javax.servlet.http.HttpServlet
Handles the connection request from a new ivy bus
provide a unique id for the ivy bus
provide a unique id for each new drone on a ivy bus
handles the uploading of the configuration files for each new drone on a ivy bus
- See Also:
- Serialized Form
|
Method Summary |
int |
getWebId(java.lang.String login)
contact database if any to have a new webid |
void |
init(javax.servlet.ServletConfig config)
|
| Methods inherited from class javax.servlet.http.HttpServlet |
service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Ivy2TomcatHttpServer
public Ivy2TomcatHttpServer()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Specified by:
init in interface javax.servlet.Servlet- Overrides:
init in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
getWebId
public int getWebId(java.lang.String login)
- contact database if any to have a new webid
- Returns:
- a webid>0 or -1 if failed